package com.ruoyi.basebill.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测试需求单维护对象 t_bom_calcdemand
 * 
 * @author ruoyi
 * @date 2024-09-11
 */
public class BomCalcdemand extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private String fid;

    /** 单据编码 */
    @Excel(name = "单据编码")
    private String number;

    /** 客户编码 */
    @Excel(name = "客户编码")
    private String fcustomernumber;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String fcustomername;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String fmaterialnumber;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String fmaterialname;

    /** 规格 */
    @Excel(name = "规格")
    private String fmodule;

    /** 单位 */
    @Excel(name = "单位")
    private String fheadquartersnumber;

    /** 箱规 */
    @Excel(name = "箱规")
    private String boxgauge;

    /** 税率 */
    @Excel(name = "税率")
    private BigDecimal taxrate;

    /** 创建人 */
    @Excel(name = "创建人")
    private String fcreator;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fcreatetime;

    /** 最后修改人 */
    @Excel(name = "最后修改人")
    private String flastupdateuserid;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date flastupdatetime;

    /** 产品ID */
    private String fmaterialid;
    /** 联系人 */
    @Excel(name = "联系人")
    private String fcontacts;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String fcontactnumber;

    /** 部门id */
    private Long deptId;

    /** 提交部门 */
    @Excel(name = "提交部门")
    private String fsubmitdept;

    /** 部门编码 */
    private String fboxpackdetail;

    /** 基地出货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date fbaseshipmentdate;

//    /** 是否是ODM库内产品（0 否 1 是） */
//    @Excel(name = "是否是ODM库内产品", readConverterExp = "0=,否=,1=,是=")
//    private Long fisaproductwithinthedom;
//
//    /** 生产日期需求（月份） */
//    @Excel(name = "生产日期需求", readConverterExp = "月=份")
//    private Date fproductiondate;
//
    /** 品类 */
    @Excel(name = "品类")
    private String fcustomizedproducttype;

    /** 时间类型 */
    @Excel(name = "时间类型")
    private String cfseasontypeid;

    /** 基地 */
    @Excel(name = "基地")
    private String cfwfzbaseid;

    /** 是否已下推 */
    @Excel(name = "是否已下推")
    private String ispush;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 状态 */
    @Excel(name = "状态")
    private String cfstate;

    /** 附件 */
    private String fisbarcode;
//
//    /** 是否需要礼盒完整质检报告（0 否 1 是） */
//    @Excel(name = "是否需要礼盒完整质检报告", readConverterExp = "0=,否=,1=,是=")
//    private Long fisqualityreport;
//
//    /** 是否有客供包材或原料 */
//    @Excel(name = "是否有客供包材或原料")
//    private Long fismaterialraw;
//


    /** 测试需求单维护分录信息 */
    private List<BomCalcdemandentry> bomCalcdemandentryList;

    public String getFboxpackdetail() {
        return fboxpackdetail;
    }

    public void setFboxpackdetail(String fboxpackdetail) {
        this.fboxpackdetail = fboxpackdetail;
    }

    public void setFid(String fid)
    {
        this.fid = fid;
    }

    public String getFisbarcode() {
        return fisbarcode;
    }

    public void setFisbarcode(String fisbarcode) {
        this.fisbarcode = fisbarcode;
    }

    public String getCfstate() {
        return cfstate;
    }

    public void setCfstate(String cfstate) {
        this.cfstate = cfstate;
    }

    public String getCfseasontypeid() {
        return cfseasontypeid;
    }

    public String getIspush() {
        return ispush;
    }

    public void setIspush(String ispush) {
        this.ispush = ispush;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setCfseasontypeid(String cfseasontypeid) {
        this.cfseasontypeid = cfseasontypeid;
    }

    public String getCfwfzbaseid() {
        return cfwfzbaseid;
    }

    public void setCfwfzbaseid(String cfwfzbaseid) {
        this.cfwfzbaseid = cfwfzbaseid;
    }

    public String getFid()
    {
        return fid;
    }
    public void setFcreator(String fcreator) 
    {
        this.fcreator = fcreator;
    }

    public String getFcreator() 
    {
        return fcreator;
    }
    public void setFcreatetime(Date fcreatetime) 
    {
        this.fcreatetime = fcreatetime;
    }

    public Date getFcreatetime() 
    {
        return fcreatetime;
    }
    public void setFlastupdateuserid(String flastupdateuserid) 
    {
        this.flastupdateuserid = flastupdateuserid;
    }

    public String getFlastupdateuserid() 
    {
        return flastupdateuserid;
    }
    public void setFlastupdatetime(Date flastupdatetime) 
    {
        this.flastupdatetime = flastupdatetime;
    }

    public Date getFlastupdatetime() 
    {
        return flastupdatetime;
    }
    public void setFmodule(String fmodule) 
    {
        this.fmodule = fmodule;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getFmodule()
    {
        return fmodule;
    }
    public void setFcustomername(String fcustomername) 
    {
        this.fcustomername = fcustomername;
    }

    public String getFcustomernumber() {
        return fcustomernumber;
    }

    public void setFcustomernumber(String fcustomernumber) {
        this.fcustomernumber = fcustomernumber;
    }

    public String getFcustomername()
    {
        return fcustomername;
    }

    public String getBoxgauge() {
        return boxgauge;
    }

    public void setBoxgauge(String boxgauge) {
        this.boxgauge = boxgauge;
    }

    public BigDecimal getTaxrate() {
        return taxrate;
    }

    public void setTaxrate(BigDecimal taxrate) {
        this.taxrate = taxrate;
    }

    public void setFheadquartersnumber(String fheadquartersnumber)
    {
        this.fheadquartersnumber = fheadquartersnumber;
    }

    public String getFheadquartersnumber() 
    {
        return fheadquartersnumber;
    }

    public String getFmaterialid() {
        return fmaterialid;
    }

    public void setFmaterialid(String fmaterialid) {
        this.fmaterialid = fmaterialid;
    }

    public String getFmaterialnumber() {
        return fmaterialnumber;
    }

    public void setFmaterialnumber(String fmaterialnumber) {
        this.fmaterialnumber = fmaterialnumber;
    }

    public String getFmaterialname() {
        return fmaterialname;
    }

    public void setFmaterialname(String fmaterialname) {
        this.fmaterialname = fmaterialname;
    }

    public String getFcontacts() {
        return fcontacts;
    }

    public void setFcontacts(String fcontacts) {
        this.fcontacts = fcontacts;
    }

    public String getFcontactnumber() {
        return fcontactnumber;
    }

    public void setFcontactnumber(String fcontactnumber) {
        this.fcontactnumber = fcontactnumber;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setFsubmitdept(String fsubmitdept)
    {
        this.fsubmitdept = fsubmitdept;
    }

    public String getFsubmitdept() 
    {
        return fsubmitdept;
    }
    public void setFbaseshipmentdate(Date fbaseshipmentdate) 
    {
        this.fbaseshipmentdate = fbaseshipmentdate;
    }

    public Date getFbaseshipmentdate() 
    {
        return fbaseshipmentdate;
    }
    public List<BomCalcdemandentry> getBomCalcdemandentryList()
    {
        return bomCalcdemandentryList;
    }

    public String getFcustomizedproducttype() {
        return fcustomizedproducttype;
    }

    public void setFcustomizedproducttype(String fcustomizedproducttype) {
        this.fcustomizedproducttype = fcustomizedproducttype;
    }

    public void setBomCalcdemandentryList(List<BomCalcdemandentry> bomCalcdemandentryList)
    {
        this.bomCalcdemandentryList = bomCalcdemandentryList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fid", getFid())
            .append("fnumber",getNumber())
            .append("fmodule", getFmodule())
            .append("fcustomername", getFcustomername())
            .append("fmaterialid", getFmaterialid())
            .append("fmaterialnumber", getFmaterialnumber())
            .append("fmaterialname", getFmaterialname())
            .append("fcontacts", getFcontacts())
            .append("fcontactnumber", getFcontactnumber())
            .append("fheadquartersnumber", getFheadquartersnumber())
            .append("fsubmitdept", getFsubmitdept())
            .append("fbaseshipmentdate", getFbaseshipmentdate())
            .append("bomCalcdemandentryList", getBomCalcdemandentryList())
            .append("fcreator", getFcreator())
            .append("fcreatetime", getFcreatetime())
            .append("flastupdateuserid", getFlastupdateuserid())
            .append("flastupdatetime", getFlastupdatetime())
            .append("fcustomizedproducttype", getFcustomizedproducttype())
            .toString();
    }
}
